package pl.diagnoser.server.persistance.map;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "D_ATTRIBUTE_VALUES")
public class AttributeValuesDict implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private Long attributeValuesID;
	private String attributeValue;
	
	public AttributeValuesDict() {}
	public AttributeValuesDict(String attributeValue) {
		this.attributeValue = attributeValue;
	}
	
	@Id
	@GeneratedValue
	@Column( name = "ATTRIBUTE_VALUES_ID", unique = true, nullable = false, length = 10 )
	public Long getAttributeValuesID() {
		return attributeValuesID;
	}
	
	public void setAttributeValuesID(Long attributeValuesID) {
		this.attributeValuesID = attributeValuesID;
	}
	
	@Column( name = "ATTRIBUTE_VALUE", unique = true, nullable = false, length = 100 )
	public String getAttributeValue() {
		return attributeValue;
	}
	
	public void setAttributeValue(String attributeValue) {
		this.attributeValue = attributeValue;
	}
}
